﻿using System;
using System.Configuration;

namespace Dqaqs.Configuration
{
	public interface IConfigProvider
	{
		string ConnectionString { get; }
		string GetStringValue(string key);
	}

	public class BasicConfigProvider : IConfigProvider
	{
		public string ConnectionString
		{
			get { return ConfigurationManager.ConnectionStrings[0].ConnectionString; }
		}

		public string GetStringValue(string key)
		{
			throw new NotImplementedException();
		}
	}
}
